﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace App.Model
{
    /// <summary>
    /// 考核得分/汇总表
    /// </summary>
    public class KaoHeHuiZongBiao
    {
        public int dfid { set; get; }
        public string name { set; get; }
        public string zhiwu { set; get; }
        public string jxmblxstr { set; get; }
        /// <summary>
        /// 所属人账号
        /// </summary>
        public string username { set; get; }
        /// <summary>
        /// 工作计划总分
        /// </summary>
        public decimal gzjhdf { set; get; }
        /// <summary>
        /// 绩效总分
        /// </summary>
        public decimal jxdf { set; get; }
        /// <summary>
        /// 附加项总分
        /// </summary>
        public decimal fjx { set; get; }
        /// <summary>
        /// 考核表Id
        /// </summary>
        public int mkhbid { set; get; }
        /// <summary>
        /// 绩效考核模板Id
        /// </summary>
        public int mbid { set; get; }
        /// <summary>
        /// 所属人职务Id
        /// </summary>
        public int zwid { set; get; }
        /// <summary>
        /// 绩效类型
        /// </summary>
        public int jxmblx { set; get; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime cjsj { set; get; }
        /// <summary>
        /// 得分表状态
        /// </summary>
        public int dfbzt { set; get; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string pch { set; get; }
        /// <summary>
        /// 所属时间
        /// </summary>
        public DateTime sssj { set; get; }
        /// <summary>
        /// 绩效模板Id
        /// </summary>
        public int jxmbid { set; get; }
        /// <summary>
        /// 确认集
        /// </summary>
        public List<KaoHeChengJiQueRen> KaoHeChengJiQueRens { set; get; }
    }

    public class KaoHeChengJiQueRen
    {
        public int qrid { set; get; }
        /// <summary>
        /// 得分汇总表Id
        /// </summary>
        public int dfid { set; get; }
        /// <summary>
        /// 确认人账号
        /// </summary>
        public string username { set; get; }
        /// <summary>
        /// 确认类型
        /// </summary>
        public int qrlx { set; get; }
        /// <summary>
        /// 备注
        /// </summary>
        public string bz { set; get; }
    }
}
